package com.example.demo.service.Impl;

import com.example.demo.mapper.CrowdFlowTimeMapper;
import com.example.demo.module.entity.CrowdFlowTime;
import com.example.demo.service.CrowdFlowTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CrowdFlowTimeServiceImpl implements CrowdFlowTimeService {
    @Autowired
    private CrowdFlowTimeMapper crowdFlowTimeMapper;

    @Override
    public List<CrowdFlowTime> findAll() throws Exception {
        return crowdFlowTimeMapper.selectAll();
    }
}
